/*    */ package com.cr.framework.web.service;
/*    */ 
/*    */ import com.cr.common.core.domain.entity.SysDictData;
/*    */ import com.cr.system.service.ISysDictDataService;
/*    */ import com.cr.system.service.ISysDictTypeService;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service("dict")
/*    */ public class DictService {
/*    */   @Autowired
/*    */   private ISysDictTypeService dictTypeService;
/*    */   
/*    */   @Autowired
/*    */   private ISysDictDataService dictDataService;
/*    */   
/*    */   public List<SysDictData> getType(String dictType) {
/* 32 */     return this.dictTypeService.selectDictDataByType(dictType);
/*    */   }
/*    */   
/*    */   public String getLabel(String dictType, String dictValue) {
/* 44 */     return this.dictDataService.selectDictLabel(dictType, dictValue);
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-framework-4.7.0.jar!\com\cr\framework\web\service\DictService.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */